package com.aspose.cells.a.c;

public class zi {
   public static long a(Object var0) {
      if (var0 instanceof Long) {
         return (Long)var0;
      } else if (var0 instanceof Integer) {
         return (long)(Integer)var0;
      } else {
         return var0 instanceof Short ? (long)(Short)var0 : (Long)var0;
      }
   }

   public static double b(Object var0) {
      return (Double)var0;
   }

   public static int c(Object var0) {
      return (Integer)var0;
   }

   public static boolean d(Object var0) {
      return (Boolean)var0;
   }

   public static short a(Integer var0) {
      return var0.shortValue();
   }

   public static int a(Double var0) {
      return var0.intValue();
   }

   public static Object a(byte var0) {
      return var0;
   }
}
